home *** CD-ROM | disk | FTP | other *** search
- .TH CZEROS
- 6 "IRIT Version 6.0"
- .SH NAME
- CZEROS
-
-
-
- ListType CZEROS( CurveType Crv, NumericType Epsilon, NumericType Axis )
-
- Computes the zero set of the given Crv in the given axis (1 for X,
- 2 for Y, 3 for Z). Since this computation is numeric, an Epsilon is
- also required to specify the desired tolerance. It returns a list of
- all the parameter values (NumericType) the curve is zero.
-
- Example:
-
- xzeros = CZEROS( cb, 0.001, 1 );
- pt_xzeros = nil();
- pt = nil();
- for ( i = 1, 1, sizeof( xzeros ),
- pt = ceval( cb, nth( xzeros, i ) ):
- snoc( pt, pt_xzeros )
- );
- interact( list( axes, cb, pt_xzeros ), 0 );
-
- Computes the X zero set of curve cb with error tolerance
- of 0.001. This set is then scanned in a loop and evaluated to
- the curve's locations, which are then displayed.
- See also CINFLECT.
-